//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Springfield Ballet Company: Alice in Wonderland','Springfield Little Theatre','Springfield, MO','Friday','5/3/2024','7:30 PM','6298388','Springfield-Ballet-Company--Alice-in-Wonderland-5-3-2024'],['Springfield Ballet Company: Alice in Wonderland','Springfield Little Theatre','Springfield, MO','Saturday','5/4/2024','12:00 PM','6298389','Springfield-Ballet-Company--Alice-in-Wonderland-5-4-2024'],['Cary Ballet Company: Alice In Wonderland & Balanchine's Who Cares','Fletcher Opera Theater At Martin Marietta Center for the Performing Arts','Raleigh, NC','Saturday','5/4/2024','1:00 PM','6301883','Cary-Ballet-Company--Alice-In-Wonderland---Balanchine-s-Who-Cares-5-4-2024'],['Connecticut Ballet: Alice In Wonderland','Belding Theater at Bushnell Theatre','Hartford, CT','Saturday','5/4/2024','2:00 PM','6323608','Connecticut-Ballet--Alice-In-Wonderland-5-4-2024'],['Springfield Ballet Company: Alice in Wonderland','Springfield Little Theatre','Springfield, MO','Saturday','5/4/2024','5:30 PM','6298390','Springfield-Ballet-Company--Alice-in-Wonderland-5-4-2024'],['Cary Ballet Company: Alice In Wonderland & Balanchine's Who Cares','Fletcher Opera Theater At Martin Marietta Center for the Performing Arts','Raleigh, NC','Saturday','5/4/2024','6:00 PM','6301882','Cary-Ballet-Company--Alice-In-Wonderland---Balanchine-s-Who-Cares-5-4-2024'],['Springfield Ballet Company: Alice in Wonderland','Springfield Little Theatre','Springfield, MO','Sunday','5/5/2024','2:00 PM','6298391','Springfield-Ballet-Company--Alice-in-Wonderland-5-5-2024'],['Alice: Dreaming of Wonderland','Bergen Performing Arts Center','Englewood, NJ','Sunday','5/5/2024','3:00 PM','6048126','Alice--Dreaming-of-Wonderland-5-5-2024'],['Ballet Fantastique: Alice In Wonderland','Soreng Theater at Hult Center For The Performing Arts','Eugene, OR','Thursday','5/9/2024','7:30 PM','5952488','Ballet-Fantastique--Alice-In-Wonderland-5-9-2024'],['Ballet Fantastique: Alice In Wonderland','Soreng Theater at Hult Center For The Performing Arts','Eugene, OR','Friday','5/10/2024','7:30 PM','5952489','Ballet-Fantastique--Alice-In-Wonderland-5-10-2024'],['Ballet Fantastique: Alice In Wonderland','Soreng Theater at Hult Center For The Performing Arts','Eugene, OR','Saturday','5/11/2024','7:30 PM','5952490','Ballet-Fantastique--Alice-In-Wonderland-5-11-2024'],['Ballet Fantastique: Alice In Wonderland','Soreng Theater at Hult Center For The Performing Arts','Eugene, OR','Sunday','5/12/2024','2:30 PM','5952491','Ballet-Fantastique--Alice-In-Wonderland-5-12-2024'],['Connecticut Ballet: Alice In Wonderland','Stamford Center For The Arts - Palace Theatre','Stamford, CT','Saturday','5/18/2024','2:00 PM','6326107','Connecticut-Ballet--Alice-In-Wonderland-5-18-2024'],['Alice in Wonderland Jr.','Williams Theatre at Tulsa Performing Arts Center','Tulsa, OK','Friday','5/24/2024','2:00 PM','6293602','Alice-in-Wonderland-Jr--5-24-2024'],['Alice in Wonderland Jr.','Williams Theatre at Tulsa Performing Arts Center','Tulsa, OK','Saturday','5/25/2024','1:00 PM','6293603','Alice-in-Wonderland-Jr--5-25-2024'],['Alice in Wonderland Jr.','Williams Theatre at Tulsa Performing Arts Center','Tulsa, OK','Saturday','5/25/2024','4:00 PM','6293604','Alice-in-Wonderland-Jr--5-25-2024'],['Alice In Wonderland','New Victoria Theatre','Woking, United Kingdom','Sunday','6/2/2024','2:00 PM','6119538','Alice-In-Wonderland-6-2-2024'],['Roanoke Ballet Theatre: Alice In Wonderland','Shaftman Performance Hall at Jefferson Center','Roanoke, VA','Saturday','6/8/2024','2:00 PM','6265539','Roanoke-Ballet-Theatre--Alice-In-Wonderland-6-8-2024'],['Roanoke Ballet Theatre: Alice In Wonderland','Shaftman Performance Hall at Jefferson Center','Roanoke, VA','Sunday','6/9/2024','2:00 PM','6265540','Roanoke-Ballet-Theatre--Alice-In-Wonderland-6-9-2024'],['Alice in Wonderland Jr.','Palace Theatre - NH','Manchester, NH','Friday','7/5/2024','7:00 PM','6314203','Alice-in-Wonderland-Jr--7-5-2024'],['Alice in Wonderland Jr.','Palace Theatre - NH','Manchester, NH','Saturday','7/6/2024','11:00 AM','6314204','Alice-in-Wonderland-Jr--7-6-2024'],['Catskill Ballet: Alice in Wonderland','Ulster Performing Arts Center','Kingston, NY','Friday','5/16/2070','TBD','4409252','Catskill-Ballet--Alice-in-Wonderland-5-16-2070'],['Catskill Ballet: Alice in Wonderland','Ulster Performing Arts Center','Kingston, NY','Saturday','5/17/2070','TBD','4409253','Catskill-Ballet--Alice-in-Wonderland-5-17-2070']],'Alice in Wonderland','http://www.ticketnetwork.com/ticket/Alice-in-Wonderland-events.aspx');